<?php
if (count($photos)>0)
 foreach($photos as $img) { ?>
<div style='float:left; width:126px; height:120px; padding-left:3px; padding-right:3px'>
<img src="/uploads/media/thumbnail_120_120_n/<?php echo $img['image'] ?>" title="<?php $img['title'] ?>" />
</div>
<?php } ?>
<div style='clear:both'></div>